<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('shop_profile_teams', function (Blueprint $table) {
            $table->id();

            $table->string('team_name')->comment('分组名称');

            $table->timestamps();
        });

        \DB::statement("ALTER TABLE `shop_profile_teams` comment '店铺资料信息分组表'");
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('shop_profile_teams');
    }
};
